/*
 * claplan_print.cc
 *
 *  Created on: 2 Nov 2013
 *      Author: Tom Vercauteren
 */
#include "claplan_print.h"

using std::string;
using std::endl;

std::ostream & print_class_solution_header(std::ostream &os)
{
	os
			<< "# /*****************************************************************\\"
			<< endl;
	os
			<< "# |*                                                               *|"
			<< endl;
	os
			<< "# |*  Class solution                                               *|"
			<< endl;
	os
			<< "# |*                                                               *|"
			<< endl;
	os
			<< "# \\*****************************************************************/"
			<< endl << endl;
	return os;
}

std::ostream & print_comment_block(std::ostream &os, const std::string &s)
{
	string ts = s + ".";
	os << "# /*`````````````````````````````````````````````````\\" << endl;
	os.setf(std::ios::left);
	os << "# |   " << std::setw(47) << ts << "|" << endl;
	os << "# \\.................................................*/" << endl
			<< endl;
	return os;
}

